package bitcarve.hydra.ui.timeline.viewer
{
	import bitcarve.hydra.ui.timeline.layout.BackgroundLayout;
	import bitcarve.hydra.ui.timeline.layout.BackgroundLayoutItem;
	import bitcarve.hydra.ui.timeline.layout.LayoutUpdateEvent;
	
	import flash.display.Sprite;
	
	public class BackgroundViewer extends Sprite implements IViewer
	{
		private var layout:BackgroundLayout;
		private var renders:Array;
		
		public function BackgroundViewer()
		{
			renders = new Array();
		}
		
		public function update(event : LayoutUpdateEvent):void
		{
			trace("Background Viewer update");
			layout = event.target as BackgroundLayout;
			for each (var item:BackgroundLayoutItem in layout.items)
			{
				
			}
		}
	
	}
}